package com.example.sls.controller.account;

import com.example.sls.service.account.InfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Map;

@RestController
public class InfoController {
    @Autowired
    private InfoService infoService;

    @GetMapping("/account/info")
    public Map<String, String> getInfo(){
        //System.out.println(infoService.getInfo());
        return infoService.getInfo();
    }

}
